#e[Player]
#ScriptVersion[2] 
#Menu[JA]
#Text[gU^Cv

	]
#ReplayName[A]
script_player_main
{
	let MagicAbsorbShortRange=60;
	let MagicAbsorbLongRange=150;
	let AutoReCharge=0.625;
	let GrazeRadius=50;
	let AutoItemCollectLine=176;

	@Initialize
	{
		SetPlayerLifeImage(img, 0, 0, 48, 48);

		IntializeLoading;
		SetSpeed(4.5, 1.5);//@̈ړx
		LoadPlayerShotData(csd~"..\txt\ShotData.txt");
		SetItemCollectLine(AutoItemCollectLine);//ACeyW
		SetGrazeCircle(GrazeRadius);//@̂蔻
		SetRebirthFrame(1);//H炢{̗Lt[
		Tmain;
	}

	task Tmain
	{
		yield;
		OptionMagicCircleA;
		IntializeTmain;
		BombExtend;
	}

	@MainLoop
	{
		SetIntersectionCircle(GetPlayerX, GetPlayerY, 0);//@̓蔻
		yield;
	}


	@Missed{
	MainLoop;
	BurstMode=0;
}

	@SpellCard//oA̗Lɂă{ω
	{	
		if(OnMissed)
		{	
		UseSpellCard("MicroHole", 0);
		}
		else
		{
		UseSpellCard("Stardust", 0);
		}
		BurstMode=0;
	}

	@DrawLoop
	{
		SetTexture(img);

		SetGraphicRect(PlayerRectLeft,PlayerRectUp, PlayerRectRight, PlayerRectDown);
		DrawGraphic(GetPlayerX(), GetPlayerY());//@̕`

	atari;
	}

	@Finalize
	{

	}



#include_script".\..\txt\Pdraw.txt"
#include_script".\..\txt\Bdraw.txt"
#include_script".\..\txt\Cdraw.txt"
#include_script".\..\txt\Power.txt"
#include_script".\..\txt\PlayerEffect.txt"
#include_script".\..\txt\BurstEffect.txt"
#include_script".\..\txt\Hue.txt"
#include_script".\..\txt\MagicSystem.txt"
#include_script".\MarisaShot.txt"
#include_script".\MarisaOptionMove.txt"
#include_script".\..\txt\BombExtend.txt"
#include_script".\..\txt\rotate3d.txt"
#include_script".\..\txt\Load.txt"
#include_script".\..\txt\data.txt"
}

#include_script".\..\txt\Spell001.txt"
